#ifndef SETTINGS_H
#define SETTINGS_H

#include <QtGui/QDialog>
#include <QSettings>
#include <QSound>
#include "ui_settings.h"

class Settings : public QDialog
{
    Q_OBJECT

    public:
        ~Settings();
        Ui::Settings *settingsWindow;
        Settings(QWidget *parent = 0);

        int labelColorCheck;

        int rewardsPoints;
        QString rewardsTotalPoints;
        QString lifeSyncLaunches;

        void addListItem(QString avatarReward);

        //Settings save settings
        void writeSettingsWindowSettings();

    private:
        //Settings load settings
        void readSettingsWindowSettings();

        void callColor_LabelChanges();
        void changeColor_Labels(QString labelColor);
        QString labelColor;

    private slots:
        void on_avatarHelp_Button_clicked();
        void on_themeHelp_Button_clicked();
        void on_close_Button_clicked();
        void allColor_LabelChanges();
        void mainColor_LabelChanges();
        void colorDefault_LabelChanges();
        void settingsColor_LabelChanges();
        void contactsColor_LabelChanges();
        void calendarColor_LabelChanges();
        void checklistColor_LabelChanges();
        void favoritesColor_LabelChanges();
        void calculatorColor_LabelChanges();
        void informationColor_LabelChanges();
        void colorSet_LabelChanges(QListWidgetItem*);
        void convertWindowTransparencyIntToString(int);
};

#endif // SETTINGS_H
